<div id="banner-statistic">
	<section class="title">
		<h4><?php echo lang('escort_banner_statistic_label')?></h4>
	</section>
	<section class="item">
<?php
	if($statisticList){
?>
		<table>
			<thead>
				<tr>
					<th><?php echo lang('escort_banner_statistic_site_ref'); ?></th>
					<th class="collapse"><?php echo lang('escort_banner_statistic_page_url'); ?></th>
					<th class="collapse"><?php echo lang('escort_banner_statistic_clicked'); ?></th>
					<th class="collapse"><?php echo lang('escort_banner_statistic_ip'); ?></th>
					<th class="collapse"><?php echo lang('escort_banner_statistic_time'); ?></th>
				</tr>
			</thead>
			<tfoot>
				<tr>
					<td colspan="11">
						<div class="inner"><?php $this->load->view('admin/partials/pagination'); ?></div>
					</td>
				</tr>
			</tfoot>
			<tbody>
				<?php foreach ($statisticList as $statistic) : ?>
					<tr>						
						<td class="collapse"><?php echo $statistic->site_ref?></td>
						<td class="collapse"><?php echo $statistic->page_url?></td>
						<td class="collapse"><?php echo $statistic->clicked?></td>
						<td class="collapse"><?php echo $statistic->ip?></td>
						<td class="collapse"><?php echo format_date($statistic->time); ?></td>
					</tr>
				<?php endforeach; ?>
			</tbody>
		</table>
<?php
	}else{
?>
		<div class="no_data"><?php echo lang('escort_banner_no_statistic_data_label'); ?></div>
<?php
	}
?>
	</section>
</div>